package com.ftwj.demo.base.common.inter;

import java.util.List;

import com.ftwj.demo.base.wrapper.UpdateWrapper;

public interface UpdateDao<T, K> {

	int update(T t);

	int update(T t, Boolean ignore);
	
	int updateByExample(T t, String... fieldArrays);
	
	int updateByExample(T t, Boolean ignore, String... fieldArrays);
	
	int updateByExample(T t, List<String> fieldList);

	int updateByExample(T t, List<String> fieldList, Boolean ignore);

	int updateByConditions(UpdateWrapper wrapper);

	
}
